package com.sis.main.client;

import java.io.Serializable;
import java.util.HashMap;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;



//import com.google.appengine.api.users.User; 


public class DataLogin implements Serializable {
	
	private Long id;
	  //private User user;
	  private String userid;
	  private String password;
	  private String sourceid = "EAKN"; 
	  private String version = "1001"; 
	  private String sessionid;
	  private String stringAccountID;
	  private String stringCompany;
	  private String stringSegment;

	  private boolean loggedIn = false;
	  private String loginUrl;
	  private String logoutUrl;
	  private String emailAddress;
	  private String nickname;
	
	  public DataLogin() {
	  }
	  
	  public DataLogin(String stringAccountID) {
		  this.stringAccountID = stringAccountID;
	  }
	  
	  public String getPassword() {
		return password;  
	  }
	  
	  public void setPassword( String aPassword){
		  password = aPassword;
	  }

	  public boolean isLoggedIn() {
	    return loggedIn;
	  }

	  public void setLoggedIn(boolean loggedIn) {
	    this.loggedIn = loggedIn;
	  }

	  public String getLoginUrl() {
	    return loginUrl;
	  }

	  public void setLoginUrl(String loginUrl) {
	    this.loginUrl = loginUrl;
	  }

	  public String getLogoutUrl() {
	    return logoutUrl;
	  }

	  public void setLogoutUrl(String logoutUrl) {
	    this.logoutUrl = logoutUrl;
	  }

	  public String getEmailAddress() {
	    return emailAddress;
	  }

	  public void setEmailAddress(String emailAddress) {
	    this.emailAddress = emailAddress;
	  }

	  public String getNickname() {
	    return nickname;
	  }

	  public void setNickname(String nickname) {
	    this.nickname = nickname;
	  }

	public void setVersion(String version) {
		this.version = version;
	}

	public String getVersion() {
		return version;
	}

	public void setSourceID(String sourceid) {
		this.sourceid = sourceid;
	}

	public String getSourceID() {
		return sourceid;
	}

	public void setID(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setUserID(String userid) {
		this.userid = userid;
	}

	public String getUserID() {
		return userid;
	}

	public void setSessionID(String sessionid) {
		this.sessionid = sessionid;
	}

	public String getSessionID() {
		return sessionid; 
	}

	public void setAccountID(String stringAccountID) {
		this.stringAccountID = stringAccountID;
	}
	public String getAccountID() {
		return stringAccountID;
	}
	public void setCompany(String stringCompany) {
		this.stringCompany = stringCompany;
	}
	public String getCompany() {
		return stringCompany;
	}
	public void setSegment(String stringSegment) {
		this.stringSegment = stringSegment;
	}
	public String getSegment() {
		return stringSegment;
	}
}
